<div id="main-tabs-func" style="height: 100%;"></div>
<div id="func-edit-dialog" class="easyui-dialog" title="编辑" style="width:400px;padding:20px;" data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true,top:80,buttons:'#func-edit-btn'">
  <form id="func-edit-form" method="post">
    <div id="p_node" style="margin-bottom:20px">
      <input id="func-edit-node" class="easyui-combobox" name="p_id" style="width:200px;" data-options="label:'所属节点:',required:true,valueField:'id',textField:'name'">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-edit-id" class="easyui-textbox" name="id" style="width:100%" data-options="label:'ID:',required:true">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-edit-name" class="easyui-textbox" name="name" style="width:100%" data-options="label:'名称:',required:true">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-edit-url" class="easyui-textbox" name="url" style="width:100%" data-options="label:'URL:'">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-edit-desc" class="easyui-textbox" name="desc" style="width:100%" data-options="label:'描述:',multiline:true">
    </div>
    <div style="margin-bottom:20px"></div>
  </form>
  <div id="func-edit-btn" style="text-align:center;padding:5px 0">
    <a id="func-edit-btn-save"></a>
    <a id="func-edit-btn-cancel"></a>
  </div>
</div>
<!-- <div id="func-form-dialog" class="easyui-dialog" title="添加权限" style="width:400px;padding:20px;" data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true,top:80,buttons:'#func-form-btn'">
  <form id="func-form" method="post">
    <input type="hidden" name="type" value="func">
    <div style="margin-bottom:20px">
      <input id="func-module" class="easyui-combobox" name="p_id" style="width:200px;" data-options="label:'所属模块:',required:true,valueField:'id',textField:'name'">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-id" class="easyui-textbox" name="id" style="width:100%" data-options="label:'权限ID:',required:true">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-name" class="easyui-textbox" name="name" style="width:100%" data-options="label:'权限名称:',required:true">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-url" class="easyui-textbox" name="url" style="width:100%" data-options="label:'权限URL:'">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-desc" class="easyui-textbox" name="desc" style="width:100%" data-options="label:'描述:',multiline:true">
    </div>
    <div style="margin-bottom:20px"></div>
  </form>
  <div id="func-form-btn" style="text-align:center;padding:5px 0">
    <a id="func-form-btn-save"></a>
    <a id="func-form-btn-cancel"></a>
  </div>
</div>
<div id="func-module-dialog" class="easyui-dialog" title="添加模块" style="width:400px;padding:20px;" data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true,top:80,buttons:'#func-module-btn'">
  <form id="func-module-form" method="post">
    <input type="hidden" name="type" value="module">
    <div style="margin-bottom:20px">
      <input id="func-module-node" class="easyui-combobox" name="p_id" style="width:200px;" data-options="label:'所属节点:',required:true,valueField:'id',textField:'name'">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-module-id" class="easyui-textbox" name="id" style="width:100%" data-options="label:'模块ID:',required:true">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-module-name" class="easyui-textbox" name="name" style="width:100%" data-options="label:'模块名称:',required:true">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-module-route" class="easyui-textbox" name="url" style="width:100%" data-options="label:'URL:'">
    </div>
    <div style="margin-bottom:20px">
      <input id="func-module-desc" class="easyui-textbox" name="desc" style="width:100%" data-options="label:'描述:',multiline:true">
    </div>
    <div style="margin-bottom:20px"></div>
  </form>
  <div id="func-module-btn" style="text-align:center;padding:5px 0">
    <a id="func-module-btn-save"></a>
    <a id="func-module-btn-cancel"></a>
  </div>
</div> -->
